home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XPropertyEvent.z / XPropertyEvent
Encoding:
Text File  |  2002-10-03  |  5.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXPPPPrrrrooooppppeeeerrrrttttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXPPPPrrrrooooppppeeeerrrrttttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XPropertyEvent - PropertyNotify event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _P_r_o_p_e_r_t_y_N_o_t_i_f_y events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* PropertyNotify */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window window;
  20.                Atom atom;
  21.                Time time;
  22.                int state;               /* PropertyNewValue or PropertyDelete */
  23.           } XPropertyEvent;
  24.  
  25.           When you receive this event, the structure members are set
  26.           as follows.
  27.  
  28.           The type member is set to the event type constant name that
  29.           uniquely identifies it.  For example, when the X server
  30.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  31.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  32.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  33.           pointer to the display the event was read on.  The
  34.           send_event member is set to _T_r_u_e if the event came from a
  35.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  36.           the serial number reported in the protocol but expanded from
  37.           the 16-bit least-significant bits to a full 32-bit value.
  38.           The window member is set to the window that is most useful
  39.           to toolkit dispatchers.
  40.  
  41.           The window member is set to the window whose associated
  42.           property was changed.  The atom member is set to the
  43.           property's atom and indicates which property was changed or
  44.           desired.  The time member is set to the server time when the
  45.           property was changed.  The state member is set to indicate
  46.           whether the property was changed to a new value or deleted
  47.           and can be _P_r_o_p_e_r_t_y_N_e_w_V_a_l_u_e or _P_r_o_p_e_r_t_y_D_e_l_e_t_e.  The state
  48.           member is set to _P_r_o_p_e_r_t_y_N_e_w_V_a_l_u_e when a property of the
  49.           window is changed using _X_C_h_a_n_g_e_P_r_o_p_e_r_t_y or
  50.           _X_R_o_t_a_t_e_W_i_n_d_o_w_P_r_o_p_e_r_t_i_e_s (even when adding zero-length data
  51.           using _X_C_h_a_n_g_e_P_r_o_p_e_r_t_y) and when replacing all or part of a
  52.           property with identical data using _X_C_h_a_n_g_e_P_r_o_p_e_r_t_y or
  53.           _X_R_o_t_a_t_e_W_i_n_d_o_w_P_r_o_p_e_r_t_i_e_s.  The state member is set to
  54.           _P_r_o_p_e_r_t_y_D_e_l_e_t_e when a property of the window is deleted
  55.           using _X_D_e_l_e_t_e_P_r_o_p_e_r_t_y or, if the delete argument is _T_r_u_e,
  56.           _X_G_e_t_W_i_n_d_o_w_P_r_o_p_e_r_t_y.
  57.  
  58.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  59.           XAnyEvent(3X11), XButtonEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXPPPPrrrrooooppppeeeerrrrttttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXPPPPrrrrooooppppeeeerrrrttttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  75.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  76.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  77.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  78.           XErrorEvent(3X11), XExposeEvent(3X11),
  79.           XFocusChangeEvent(3X11), XGetWindowProperty(3X11),
  80.           XGraphicsExposeEvent(3X11), XGravityEvent(3X11),
  81.           XKeymapEvent(3X11), XMapEvent(3X11), XMapRequestEvent(3X11),
  82.           XReparentEvent(3X11), XResizeRequestEvent(3X11),
  83.           XSelectionClearEvent(3X11), XSelectionEvent(3X11),
  84.           XSelectionRequestEvent(3X11), XUnmapEvent(3X11),
  85.           XVisibilityEvent(3X11)
  86.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.